package cn.ppool.test.utils;

import java.util.regex.Pattern;

public class SuperUtil {

    /**
     * 判断字符串是否整形
     *
     * @param str
     * @return
     */
    public static boolean isInt(String str) {
        Pattern pattern = Pattern.compile("^[-\\+]?[\\d]*$");
        return pattern.matcher(str).matches();
    }




}
